from passlib.context import CryptContext

password_context = CryptContext(schemes=["bcrypt"], deprecated="auto")

# hash_pwd = password_context.hash("123456")
# print(hash_pwd)

print(password_context.verify("1234s56", "$2b$12$56M2GV.g/1xTCKFbPqMv9.5uv3O/6NlEReW74uXXc77hjtfZ.DKnK"))
